import javax.swing.*;
import java.awt.*;

class InteriumApp extends JFrame {

    private JLabel midnightLabel;
    private JLabel injectLabel;
    private boolean isClicked = false;

    public InteriumApp() {
        setTitle("Crack Interium");
        setSize(400, 200);
        setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        setLayout(new BorderLayout());

        ImageIcon icon = new ImageIcon(
                "int.jpg");
        setIconImage(icon.getImage());

        midnightLabel = new JLabel("Crack Interium");
        midnightLabel.setFont(new Font("Arial", Font.BOLD, 24));
        midnightLabel.setForeground(Color.blue);
        midnightLabel.setHorizontalAlignment(SwingConstants.CENTER);
        add(midnightLabel, BorderLayout.NORTH);



        injectLabel = new JLabel("inject");
        injectLabel.setFont(new Font("Arial", Font.BOLD, 18));
        injectLabel.setForeground(Color.RED);
        injectLabel.setHorizontalAlignment(SwingConstants.CENTER);
        injectLabel.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent e) {
                if (!isClicked) {
                    injectLabel.setForeground(Color.GREEN);
                    isClicked = true;
                    JOptionPane.showMessageDialog(null, "Done", "Interium", JOptionPane.INFORMATION_MESSAGE);
                }
            }
        });
        add(injectLabel, BorderLayout.CENTER);

    }


    public static void main(String[] args) {
        SwingUtilities.invokeLater(() -> {
            InteriumApp app = new InteriumApp();
            app.setVisible(true);
        });
    }
}
